package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品（评估鉴定的商品列表
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("commodity_table")
@ApiModel(value="CommodityTable对象", description="商品（评估鉴定的商品列表")
public class CommodityTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品编号")
    @TableId(value = "commodity_table_id", type = IdType.AUTO)
    private Integer commodityTableId;

    @ApiModelProperty(value = "品牌编号")
    @TableField("goods_brands_id")
    private Integer goodsBrandsId;

    @ApiModelProperty(value = "冗余大类id")
    @TableField("goods_general_id")
    private Integer goodsGeneralId;

    @ApiModelProperty(value = "关联2级小类id")
    @TableField("goods_small_id")
    private Integer goodsSmallId;

    @ApiModelProperty(value = "关联3级小类id")
    @TableField("goods_smaller_id")
    private Integer goodsSmallerId;

    @ApiModelProperty(value = "分类名")
    @TableField("commodity_table_name")
    private String commodityTableName;

    @ApiModelProperty(value = "商品名")
    @TableField("goods_table_name")
    private String goodsTableName;

    @ApiModelProperty(value = "门店id")
    @TableField("shop_id")
    private String shopId;

    @ApiModelProperty(value = "仓库id")
    @TableField("warehouse_id")
    private Integer warehouseId;

    @ApiModelProperty(value = "客户首买价")
    @TableField("user_gomoney")
    private String userGomoney;

    @ApiModelProperty(value = "官方价")
    @TableField("goods_office_price")
    private Double goodsOfficePrice;

    @ApiModelProperty(value = "评估价")
    @TableField("goods_evaluate_price")
    private Double goodsEvaluatePrice;

    @ApiModelProperty(value = "典当价")
    @TableField("goods_pawn_price")
    private Double goodsPawnPrice;

    @ApiModelProperty(value = "收购价")
    @TableField("goods_buy_price")
    private Double goodsBuyPrice;

    @ApiModelProperty(value = "售卖价")
    @TableField("goods_sale_price")
    private Double goodsSalePrice;

    @ApiModelProperty(value = "商品描述")
    @TableField("goods_message")
    private String goodsMessage;

    @ApiModelProperty(value = "录入人")
    @TableField("user_Input")
    private String userInput;

    @ApiModelProperty(value = "录入时间")
    @TableField("user_inputtime")
    private String userInputtime;

    @ApiModelProperty(value = "鉴定人")
    @TableField("user_appraiser")
    private String userAppraiser;

    @ApiModelProperty(value = "鉴定时间")
    @TableField("user_appraisertime")
    private String userAppraisertime;

    @ApiModelProperty(value = "评估人")
    @TableField("history_name")
    private String historyName;

    @ApiModelProperty(value = "评估时间")
    @TableField("user_historytime")
    private String userHistorytime;

    @ApiModelProperty(value = "是否可售")
    @TableField("warehouse_status")
    private Integer warehouseStatus;

    @ApiModelProperty(value = "库存数量")
    @TableField("warehouse_count")
    private Integer warehouseCount;

    @ApiModelProperty(value = "显示状态")
    @TableField("warehouse_display_status")
    private Integer warehouseDisplayStatus;

    @ApiModelProperty(value = "创建人")
    @TableField("user_creator")
    private String userCreator;

    @ApiModelProperty(value = "创建时间")
    @TableField("creator_time")
    private String creatorTime;

    @ApiModelProperty(value = "修改人")
    @TableField("modified_by")
    private String modifiedBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("modified_time")
    private String modifiedTime;

    @ApiModelProperty(value = "1 店员提交（待鉴定） 2 鉴定完成（待评估）  3 估价完成（已评估）4失效")
    @TableField("goods_process")
    private Integer goodsProcess;

    @ApiModelProperty(value = "商品具体属性")
    @TableField("goods_prop_list")
    private String goodsPropList;

}
